package org.jeecg.modules.exPingbiao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.exPingbiao.entity.ExPingbiaoExpertRecommend;

import java.util.List;

/**
 * @Description: 推荐的专家表
 * @Author: jeecg-boot
 * @Date: 2024-11-09
 * @Version: V1.0
 */
public interface ExPingbiaoExpertRecommendMapper extends BaseMapper<ExPingbiaoExpertRecommend> {

    /**
     * 根据标段ID以及专家ID查询是否设置
     *
     * @param expertId
     * @param sectionId
     * @return
     */
    ExPingbiaoExpertRecommend selectByExpertIdAndSectionId(@Param("expertId") String expertId, @Param("sectionId") String sectionId);

    /**
     * 根据标段ID查询列表
     *
     * @param sectionId
     * @return
     */
    List<ExPingbiaoExpertRecommend> selectBySectionId(@Param("sectionId") String sectionId);
}
